home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / QEMENU.AML < prev    next >
Text File  |  1996-07-17  |  18KB  |  452 lines

  1. //--------------------------------------------------------------------
  2. // The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
  3. //
  4. // MENU.AML
  5. // QEdit/TSE Menu definitions (included by Main.aml)
  6. //
  7. // If you have made any changes, save this file and select Recompile
  8. // the Editor from the Set menu. Exit and re-enter the editor for
  9. // your changes to take effect.
  10. //--------------------------------------------------------------------
  11.  
  12. //--------------------------------------------------------------------
  13. // Edit Window menu bar and tool bar
  14. //--------------------------------------------------------------------
  15.  
  16. function  EditMen
  17.  
  18.   // menu bar
  19.   menubar "" 1
  20.     item "&File"     "editFile"
  21.     item "&Window"   "editWindow"
  22.     item "&Block"    "editBlock"
  23.     item "&Search"   "editSearch"
  24.     item "F&old"     "editFold"
  25.     item "&Edit"     "editEdit"
  26.     item "&Clip"     "editClip"
  27.     item "&Print"    "editPrint"
  28.     item "Se&t"      "editSet"
  29.     item "M&acro"    "editMacro"
  30.     item "&Help"     "editHelp"
  31.   end
  32.  
  33.   // tool bar
  34.   menubar "" 2
  35.     item "<&&≡>"     toolbar                 // close tool bar
  36.     item "<&&?>"     quickref 'u' 'f'        // users guide
  37.     item "<&&*>"     open "*.*"              // display file manager
  38.     item "<&&/>"     copywin                 // copy window
  39.     item "<&&─>"     splitwin 'h'            // split window horz
  40.     item "<&&|>"     splitwin 'v'            // split window vert
  41.     item "<&&o>"     askopen                 // open prompt
  42.     item "<&&s>"     save                    // save file
  43.     item "<&&F>"     askfind                 // find prompt
  44.     item "<&&f>"     findlast                // do last find/replace
  45.     item "<&&r>"     formatblock2            // reformat block
  46.     item "<&&«>"     undo                    // undo last change
  47.     item "<&&»>"     redo                    // redo last change
  48.     item "<&&>>"     foldblock2              // fold block
  49.     item "<&&<>"     destroyfold2            // destroyfold
  50.   end
  51. end
  52.  
  53.  
  54. //--------------------------------------------------------------------
  55. // Edit Window pulldown menus
  56. //--------------------------------------------------------------------
  57.  
  58. menu  "editFile"
  59.   item " &New"                            opennew
  60.   item " &Open..                <alt e>"  askopen
  61.   item " Open &Binary.."                  askopenb
  62.   item " Open and &Insert..     <alt r>"  askinsert
  63.   //item " Open Last&.."                    openlast
  64.   item " &Rename..              <alt o>"  askname
  65.   item " &Save              <ctrl k><s>"  save
  66.   item " Sa&ve As.."                      asksaveas
  67.   item "-"
  68.   item " &File Manager.."                 open "*.*"
  69.   item " &Tree.."                         runmacro2 "tree"
  70.   item " Ne&xt                  <alt n>"  nextfile
  71.   item " &Prev                  <alt p>"  prevfile
  72.   item " &List..                <alt 0>"  filelist
  73.   item "─"
  74.   item " &Close             <ctrl k><q>"  close
  75.   item " Close &All             <alt x>"  closeall
  76.   item " Sav&e and Close    <ctrl k><x>"  close 's'
  77.   item " Save an&d Close All"             closeall 's'
  78.   item '─'
  79.   item " Abo&ut.."                        about
  80. end
  81.  
  82.  
  83. menu  "editWindow"
  84.   item " &Restore"                       restore
  85.   item " &Move/Size       <ctrl o><r>"   sizekey
  86.   item " P&an               <ctrl f6>"   pankey
  87.   item " M&inimize"                      minimize
  88.   item " Ma&ximize        <ctrl o><z>"   maximize
  89.   item " &Next            <ctrl o><n>"   nextwindow
  90.   item " &Prev            <ctrl o><p>"   prevwindow
  91.   item " &List.."                        winlist
  92.   item "─"
  93.   item " &Copy"                          copywin
  94.   item " Split Hor&z      <ctrl o><h>"   splitwin 'h'
  95.   item " Split Ver&t      <ctrl o><v>"   splitwin 'v'
  96.   item "─"
  97.   item " Ca&scade"                       cascade
  98.   item " Tile &Horz"                     tile 'h'
  99.   item " Tile &Vert"                     tile 'v'
  100.   item "─"
  101.   item " Tool &Bar          <ctrl f8>"   toolbar
  102.   item " Pr&ompt Style.."                runcfg "prom"
  103. end
  104.  
  105. menu  "editMark"
  106.   item " Mark &Line           <alt l>"   markline
  107.   item " Mark &Column         <alt b>"   markcolumn
  108.   item " Mark C&haracter      <alt a>"   markchar
  109.   item " Mark &Word       <ctrl k><t>"   markword
  110.   item " Mark to &EOL         <alt 2>"   markeol
  111.   item " Mark &Paragraph      <alt 3>"   markpara "tb"
  112.   item "─"
  113.   item " &Unmark              <alt u>"   destroymark
  114. end
  115.  
  116. menu  "editBlock"
  117.   item " Mar&k..                    "    submenu "editMark"
  118.   item " &Copy                <alt c>"    copyblock2
  119.   item " &Move                <alt m>"    moveblock2
  120.   item " Copy &Over           <alt z>"    copyblockover
  121.   item " Mo&ve Over"                      moveblockover
  122.   item " &Delete              <alt g>"    deleteblock2
  123.   item " &Indent           <shift f8>"    shiftblock  1
  124.   item " UnInden&t         <shift f7>"    shiftblock -1
  125.   item "─"
  126.   item " &Fill            <ctrl k><l>"    fillblock2
  127.   item " S&ave..              <alt w>"    saveblock2
  128.   item " &Sort             <shift f3>"    sortblock2
  129.   item " Lo&wercase          <alt f4>"    caseblock 'l'
  130.   item " U&ppercase        <shift f4>"    caseblock
  131.   item "─"
  132.   item " Ce&nter          <ctrl k><c>"    justblock2 'c'
  133.   item " &Left Justify"                   justblock2 'l'
  134.   item " Ri&ght Justify"                  justblock2 'r'
  135.   item " &Reformat            <alt b>"    formatblock2
  136.   item " R&eformat Right"                 formatblock2 "rj"
  137. end
  138.  
  139. menu  "editSearch"
  140.   item " &Find..   <ctrl q><f> or <ctrl f>"   askfind
  141.   item " Re&place..               <ctrl r>"   askrepl
  142.   item " &Repeat Last Find/Repl   <ctrl l>"   findlast
  143.   item " &Scan Files..            <ctrl s>"   askscan
  144.   item " &Incremental Search      <ctrl i>"   isearch
  145.   item " Find &Occurrences..       <alt v>"   askfindo
  146.   item "─"
  147.   item " &Quick Bookmark"                     quickbook
  148.   item " Pre&v Bookmark"                      cyclebook
  149.   item " Place &Bookmark..        <ctrl 2>"   placebook
  150.   item " &Go to Bookmark..        <ctrl 6>"   askbook
  151.   item "─"
  152.   item " Go to &Line..            <ctrl j>"   askrow
  153.   item " Go to Bloc&k Start    <ctrl q><b>"   gotomark 't'
  154.   item " Go to Block En&d      <ctrl q><k>"   gotomark 'b'
  155.   item " Go to Ne&xt Fold          <alt 7>"   search2 "f/f"
  156.   item "─"
  157.   item " Find &Matching Char      <alt f3>"   gotomatch2
  158.   item " Go to Compiler &Error    <alt f7>"   gotoerror
  159. end
  160.  
  161. menu  "editFold"
  162.   item " &Fold Next Line          <alt 8>"    foldline
  163.   item " &Unfold Next Line        <alt 9>"    foldline 'u'
  164.   item "─"
  165.   item " Crea&te Fold"                        createfold
  166.   item " &Open Fold               <alt \\>"   openfold
  167.   item " &Close Fold              <alt \\>"   closefold
  168.   item " &Remove Fold"                        destroyfold2
  169.   item "─"
  170.   item " Fold Bloc&k"                         foldblock2
  171.   item " Fold Block Fl&at"                    foldflat
  172.   item " O&pen Block Folds"                   foldblock 'os'
  173.   item " C&lose Block Folds"                  foldblock 'cs'
  174.   item " Re&move Block Folds"                 foldblock 'ds'
  175.   item "─"
  176.   item " Ope&n All Folds          <alt [>"    foldall 'os'
  177.   item " Clo&se All Folds         <alt ]>"    foldall 'cs'
  178.   item " Remo&ve All Folds"                   foldall 'ds'
  179.   item "─"
  180.   item " &Export without Folds.."             asksaveas 'x'
  181.   item " E&xport Block without Folds.."       saveblock2 'x'
  182. end
  183.  
  184. menu  "editEdit"
  185.   item " &Undo                  <ctrl u>"   undo
  186.   item " &Redo               <ctrl k><r>"   redo
  187.   item "─"
  188.   item " &Insert Line   <alt f2> or <f2>"   insline2
  189.   item " &Delete Line            <alt d>"   delline
  190.   item " &Join Line              <alt j>"   joinline
  191.   item " &Split Line             <alt s>"   splitline2
  192.   item "─"
  193.   item " Ce&nter Line        <ctrl o><t>"   centerline
  194.   item " &Comment Line          <alt f1>"   commentline
  195.   item " Delete Right &Word     <ctrl t>"   delword
  196.   item " Du&plicate Line            <f4>"   copyblock '*